package com.zzyl.mapper;

import com.zzyl.dto.NursingProjectPlanDto;
import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {

    /**
     * 新增护理计划项目
     * @param projectPlanList
     */
    void insertProjectPlan(ArrayList<NursingProjectPlan> projectPlanList);

    /**
     * 根据护理计划id删除护理项目
     * @param id
     */
    void deleteProjectByPlanId(Long id);
}
